/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aentity;

import java.awt.Point;

/**
 *
 * @author renzo
 */
public class aeArco extends Point{
    private int distancia = 0;

    public aeArco(){
        super();
    }

    public aeArco(int nodoActual, int nodoAnterior, int distancia){
        super();
        this.x = nodoActual;
        this.y = nodoAnterior;
        this.distancia = distancia;
    }

    /**
     * @return the distancia
     */
    public int getDistancia() {
        return distancia;
    }

    /**
     * @param distancia the distancia to set
     */
    public void setDistancia(int distancia) {
        this.distancia = distancia;
    }

    public int getCoordX(){
        return this.x;
    }

    public void setCoordX(int x){
        this.x = x;
    }

    public int getCoordY(){
        return this.y;
    }

    public void setCoordY(int y){
        this.y = y;
    }
}
